<template>
	<view>
		<view v-for="item in 2">
			<view style="margin-left: 50%;transform: translateX(-50%);width: 90%;padding: 20rpx;border-bottom: 2rpx solid rgba(0,0,0,.2);">
				<view>
					<text style="margin-right: 20rpx;">王麻子</text>
					<text style="margin-right: 20rpx;">先生</text>
					<text>12345678900</text>
				</view>
				<view style="height: 5rpx;"></view>
				<view style="padding-left: 10rpx;color:gray;font-size: 35rpx;">
					<text style="margin-right: 20rpx;">泰豪软件源</text>
					<text>2楼101号</text>					
				</view>
				<u-icon @click="" style="position: absolute;right: 20rpx;top:50%;transform: translateY(-50%);" name="edit-pen-fill"></u-icon>
			</view>
		</view>
	
	<view style="
		position: fixed;
		width: 100%;bottom: 0;
		text-align: center;
		padding: 20rpx;
		color: #FFFFFF;
		background-color: red;
	"
	@click="toNavPage('../xinzengshouhuodizhi/xinzengshouhuodizhi')"
	>新增收货地址</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			toNavPage(path){
				if(path==null||(path+"").length<5){
					that.$refs.uToast.show({
						title: "暂时未开启",
						type: 'warning',
						duration: '2300'
					});
					return;					
				}
				uni.navigateTo({
					url:path
				})
			}
		}
	}
</script>

<style>

</style>
